<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('Fl/index')}">分类管理</a></li>
			<li><a href="{:url('Fl/add')}">分类添加</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('Fl/addPost')}">

			<div class="form-group">
				<label for="input-image" class="col-sm-2 control-label">图片上传</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-image" name="image">
					<a href="javascript:uploadOneImage('{:lang('Upload Image')}','#input-image');">点我来上传图片吧</a>
				</div>
			</div>
			<div class="form-group">
				<label for="input-fname" class="col-sm-2 control-label">分类名称添加</label>
				<div class="col-md-6 col-sm-10">
					<textarea class="form-control" name="fname" id="input-fname" ></textarea>
				</div>
			</div>

			<div class="form-group">
				<label for="input-description" class="col-sm-2 control-label">链接添加</label>
				<div class="col-md-6 col-sm-10">
					<textarea class="form-control" name="url" id="input-description" ></textarea>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
					<a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
				</div>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js?v={$_static_version}"></script>
</body>
</html>
